﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BaseRequest : MonoBehaviour
{

	protected ControllerType _controllerType=ControllerType.NONE;
	protected MethodType _methodType=MethodType.NONE;


	protected  virtual void Awake()
	{
		
		// 添加到RequestManager字典当中
		UnityFacade.Instance.RequestManager.AddRequestToDict(_methodType,this);
	}

	public virtual void OnResponse(string data)
	{
		
	}
}
